Skip to content

Add recipe for vuillaume-agency/symfony-turnstile 1.0#1926

Merged
symfony-recipes-bot merged 1 commit intosymfony:mainfrom
ArnaudV:vuillaume-agency-symfony-turnstile-1.0
Jan 19, 2026
Merged

Add recipe for vuillaume-agency/symfony-turnstile 1.0#1926
symfony-recipes-bot merged 1 commit intosymfony:mainfrom
ArnaudV:vuillaume-agency-symfony-turnstile-1.0

Conversation

@ArnaudV
Copy link
Contributor

@ArnaudV ArnaudV commented Jan 18, 2026

Q A
License MIT
Packagist https://packagist.org/packages/vuillaume-agency/symfony-turnstile

Description

Add Symfony Flex recipe for vuillaume-agency/symfony-turnstile, a bundle that integrates Cloudflare Turnstile into Symfony forms.

Package info

Recipe contents

Bundle registration

Registers VuillaumeAgency\TurnstileBundle\VuillaumeAgencyTurnstileBundle in config/bundles.php

Environment variables

  • TURNSTILE_KEY - Cloudflare Turnstile site key
  • TURNSTILE_SECRET - Cloudflare Turnstile secret key

Configuration file

Creates config/packages/vuillaume_agency_turnstile.yaml with all available options:

  • key - Site key (from env)
  • secret - Secret key (from env)
  • enable - Enable/disable validation
  • disable_submit_until_verified - Disable submit buttons until verification completes

Why Turnstile?

Turnstile is a privacy-preserving CAPTCHA alternative from Cloudflare:

  • No cookies (GDPR-friendly)
  • Usually invisible (no puzzles)
  • Free unlimited usage

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 18, 2026 18:33
@github-actions
Copy link

github-actions bot commented Jan 18, 2026

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1926/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1926/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'vuillaume-agency/symfony-turnstile:^1.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

auto-merge was automatically disabled January 18, 2026 18:39

Head branch was pushed to by a user without write access

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 18, 2026 18:39
auto-merge was automatically disabled January 18, 2026 18:41

Head branch was pushed to by a user without write access

@ArnaudV ArnaudV force-pushed the vuillaume-agency-symfony-turnstile-1.0 branch from 2451f0a to 91ab42e Compare January 18, 2026 18:41
@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 18, 2026 18:41
auto-merge was automatically disabled January 18, 2026 18:44

Head branch was pushed to by a user without write access

@ArnaudV ArnaudV force-pushed the vuillaume-agency-symfony-turnstile-1.0 branch from 91ab42e to c491d16 Compare January 18, 2026 18:44
@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) January 18, 2026 18:45
@ArnaudV
Copy link
Contributor Author

ArnaudV commented Jan 18, 2026

The "Run updated recipes" check fails because the package requires PHP 8.2+ and Symfony 7.4+.

The CI tests against Symfony 6 with PHP 8.1, which is not a supported configuration for this bundle.

This is expected behavior - the recipe will only apply for users running compatible PHP/Symfony versions.

Package requirements:

  • PHP >= 8.2
  • Symfony >= 7.4

@symfony-recipes-bot symfony-recipes-bot merged commit 7a32ad7 into symfony:main Jan 19, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants